package site.wanjiahao.message;

import lombok.Data;

@Data
public abstract class AbstractResponseMessage extends Message {

    // 需要改变的包装, boolean类型前面最好别加入is
    protected boolean success = true;

    protected String reason;

    public AbstractResponseMessage() {
    }

    public AbstractResponseMessage(boolean success, String reason) {
        this.success = success;
        this.reason = reason;
    }

}
